import { request } from '@/framework/utils/request-jdz';
import _ from 'lodash-es';
// 导入信息查询
export const queryList = (params) => {
  return request(
    {
      url: '/specimens',
      method: 'get',
      params,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
// 导入信息重置
export const resetting = (data) => {
  return request(
    {
      url: '/specimens/deleteImport',
      method: 'post',
      data,
      timeout: 10 * 60 * 1000,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
// 导入登记
export const queryimport = (data) => {
  return request(
    {
      url: '/specimens/conformImport',
      method: 'post',
      data,
      timeout: 10 * 60 * 1000,
    },
    {
      isGetDataDirectly: false,
    },
  );
};
